.app-addon {
    width: 100%;
    height: calc(100dvh - 75rpx);
    display: flex;
    flex-direction: column;

    .app-tip {
        width: calc(100% - 60rpx);
        height: 52rpx;
        align-self: center;
        display: flex;
        align-items: center;
        gap: 12rpx;
        background-color: #f54730;
        border-radius: 26rpx;
        box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0, 0, 0, 0.16);
        box-sizing: border-box;
        padding: 30rpx;
        margin-top: 60rpx;

        > text {
            color: white;
            font-weight: 400;
            font-size: 26rpx;
        }
    }

    .case-info {
        width: calc(100% - 60rpx);
        height: 124rpx;
        align-self: center;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0, 0, 0, 0.16);
        border-radius: 8rpx;
        box-sizing: border-box;
        padding: 30rpx;
        margin-top: 30rpx;

        .info-wrapper {
            display: flex;
            flex-direction: column;

            > text {
                color: #333333;
                font-weight: 600;
                font-size: 32rpx;

                &:last-child {
                    color: #6c6c6c;
                    font-weight: 400;
                }
            }
        }

        > image {
            width: 36rpx;
            height: 36rpx;
        }
    }

    .list-wrapper {
        width: 100%;
        height: 930rpx;
        margin-top: 30rpx;
        display: flex;
        overflow-y: hidden;

        .type-list {
            width: 164rpx;
            height: 100%;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            background-color: #f8f8fa;
            overflow-y: scroll;

            &::-webkit-scrollbar {
                display: none;
            }

            .type-item {
                width: 100%;
                min-height: 125rpx;
                box-sizing: border-box;
                padding: 30rpx;
                display: flex;
                align-items: center;
                justify-content: center;

                > text {
                    color: #6c6c6c;
                    font-weight: 400;
                    font-size: 26rpx;
                    text-align: center;
                }
            }

            .type-item-active {
                background-color: white;
                box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0, 0, 0, 0.16);
            }
        }

        .type-content {
            width: 100%;
            background-color: white;
            flex: 1;
            padding: 30rpx;
            box-sizing: border-box;
            overflow-y: scroll;
            
            .addon-item {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 30rpx 0;
                border-bottom: 1rpx solid #f0f0f0;
                gap: 20rpx;

                &:last-child {
                    border-bottom: none;
                }

                .item-img {
                    width: 122rpx;
                    height: 122rpx;
                    flex-shrink: 0;
                    border-radius: 16rpx;
                }

                .item-info {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;

                    .item-row {
                        width: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;

                        .item-name {
                            color: #333333;
                            font-weight: 400;
                            font-size: 26rpx;
                        }

                        .item-check {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                        }

                        .item-price {
                            color: #FF7F36;
                            font-weight: 500;
                            font-size: 26rpx;
                        }

                        .item-detail {
                            display: flex;
                            align-items: center;
                            color: #333333;
                            font-weight: 400;
                            font-size: 26rpx;
                            opacity: 0.5;
                        }
                    }

                    .item-desc {
                        color: #333333;
                        font-weight: 400;
                        font-size: 26rpx;
                        opacity: 0.5;
                        text-overflow: ellipsis;
                    }
                }
                
                // .addon-info {
                //     flex: 1;
                //     display: flex;
                //     flex-direction: column;
                    
                //     .addon-name {
                //         color: #333333;
                //         font-size: 30rpx;
                //         font-weight: 500;
                //         margin-bottom: 10rpx;
                //     }
                    
                //     .addon-desc {
                //         color: #666666;
                //         font-size: 26rpx;
                //         margin-bottom: 10rpx;
                //         line-height: 1.4;
                //     }
                    
                //     .addon-price {
                //         color: #FF7F36;
                //         font-size: 28rpx;
                //         font-weight: 600;
                //     }
                // }
            
                
                // &:last-child {
                //     border-bottom: none;
                // }
            }
        }
    }

    .bottom-wrapper {
        width: 100%;
        height: 165rpx;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
        padding: 0 30rpx;

        .bottom-row {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 42rpx;

            >text {
                color: #333333;
                font-weight: 400;
                font-size: 30rpx;
            }

            .price-text {
                color: #F54730;
            }

            .count-text {
                color: #278D87;
            }
        }

        .bottom-button {
            width: 100%;
            height: 80rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(to left, #FF7F36 0%, #F54730 100%);
            border-radius: 51rpx;
            color: white;
            font-weight: 400;
            font-size: 30rpx;
            margin-top: 10rpx;
        }
    }
}
